package com.ruoyi.system.service.smy;

import com.ruoyi.common.core.domain.smy.MallGoods;
import com.ruoyi.common.dto.OptDto;

import java.util.List;

public interface IMallGoodsService {

	public MallGoods selectMallGoodsById(Long id);

	public List<MallGoods> selectMallGoodsList(MallGoods mallGoods);

	public int insertMallGoods(MallGoods mallGoods);

	public int updateMallGoods(MallGoods mallGoods);

	public int deleteMallGoodsByIds(Long[] ids);

	public int deleteMallGoodsById(Long id);

	List<MallGoods> selectMallGoodsPage(MallGoods mallGoods);

	void auditGoods(OptDto optDto);

	void changeSellStatus(OptDto optDto);

	MallGoods getGoodsDetail(MallGoods mallGoods);

	void saveNormalGoods(MallGoods mallGoods);
}
